#pragma once

#include <GL/glew.h>
#include <GL/freeglut.h>
#include "IL/il.h"
#include "IL/ilu.h"
#include "IL/ilut.h"

class ILContainer
{
	public:
		ILContainer();
		~ILContainer();
	
		void Bind(GLuint texture_unit = 0);
		bool Initialize(const char * file_name);
		void TakeDown();

	private:
		ILint width;
		ILint height;
		ILuint il_handle;
		GLuint il_texture_handle;
};
